package com.software.demo6;

public class Student {
    private String stuNo;
    private String name;
    private Integer age;

    public Student() {

    }

    public Student(String stuNo, String name, Integer age) {
        this.stuNo = stuNo;
        this.name = name;
        this.age = age;
    }

    public void showInfo() {
        System.out.println("学号是：" + this.stuNo);
        System.out.println("姓名是：" + this.name);
        System.out.println("年龄是：" + this.age);

    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
